package com.hbnu.exercise.object;

public abstract class Person
{
    private String name;
    public int age;

    public void SetName(String name)
    {
        this.name = name;
    }

    public void SetAge(int age)
    {
        this.age = age;
    }

    public String GetName()
    {
        return this.name;
    }

    public int GetAge()
    {
        return this.age;
    }

    public abstract void Eat();
}
